// Angular Imports
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RouterModule } from '@angular/router';
import { FormsModule } from '@angular/forms';
import { HttpModule, JsonpModule } from '@angular/http';
import { AbpModule, ABP_HTTP_PROVIDER } from '@abp/abp.module';
import { ModalModule, PaginationModule, TabsModule,TabsetConfig } from 'ngx-bootstrap';
import { ServiceProxyModule } from '@shared/service-proxies/service-proxy.module';
import { SharedModule } from '@shared/shared.module';
import { API_BASE_URL } from '@shared/service-proxies/service-proxies';
import { AppConsts } from '@shared/AppConsts';

// This Module's Components
import { AgentListComponent } from './agent-list/agent-list.component';
import { AgentAddComponent } from './agent-add/agent-add.component';
import { AgentNoconfirmedListComponent } from './agent-noconfirmed-list/agent-noconfirmed-list.component'
import { AgentConfirmedListComponent } from './agent-confirmed-list/agent-confirmed-list.component';

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    HttpModule,
    JsonpModule,
    AbpModule,
    PaginationModule,
    ModalModule,
    TabsModule,
    ServiceProxyModule,
    SharedModule,
    RouterModule.forChild([
      { path: '', component: AgentListComponent }
    ])
  ],
  declarations: [
    AgentListComponent,
    AgentAddComponent,
    AgentNoconfirmedListComponent,
    AgentConfirmedListComponent
],
  exports: [
    AgentListComponent,
    AgentAddComponent,
    AgentNoconfirmedListComponent,
    AgentConfirmedListComponent
  ],
  providers:[
    TabsetConfig
  ]
})
export class AgentsModule {

}
